/*********************************************************************
** Copyright@ ScalarSoft 2002
**
** Form bean for the FAB Data Entry

** @author 	Raj Vallamsetla
** @parameters
*********************************************************************/


package com.scalar.chiptrack.operations.boards.forms;

import com.scalar.chiptrack.ChipTrackActionForm;
/*import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;*/
import java.io.Serializable;


public class BoardInventoryDataEntryForm extends ChipTrackActionForm implements Serializable {

private String processStepId  = "";
private String productName    = "";
private String lotNo          = "";
private String dateIn         = "";
private String dateOut        = "";
private String quantityIn     = "0";
private String quantityOut    = "";
private String lotId          = "";
private String locationId     = "";
private String type           = "";
private String[] newLotNumber;
private String testQuantity   = "0";
private String rejectedQty    = "0";
private String dateCode       = null;


public BoardInventoryDataEntryForm()
{

}

public void setProcessStepId(String processStepId )
{
this.processStepId = processStepId;
}


public void setLotId(String lotId )
{
this.lotId = lotId;
}

public void setProductName(String productName )
{
this.productName = productName;
}

public void setLotNo(String lotNo )
{
this.lotNo = lotNo;
}

public void setDateIn(String dateIn )
{
this.dateIn = dateIn;
}

public void setDateOut(String dateOut)
{
this.dateOut = dateOut;
}

public void setQuantityIn(String quantityIn)
{
this.quantityIn = quantityIn;
}

public void setQuantityOut(String quantityOut)
{
this.quantityOut = quantityOut;
}

public void setLocationId(String locationId)
{
this.locationId = locationId;
}

public void setType(String type )
{
this.type = type;
}


public String getProcessStepId()
{
return processStepId;
}

public String getProductName(){
 return productName;
}




public String getLotNo(){
 return lotNo;
}

public String getLotId(){
 return lotId;
}

public String getDateIn(){
 return dateIn;
}

public String getDateOut(){
 return dateOut;
}


public String getQuantityIn(){
 return quantityIn;
}

public String getQuantityOut(){
 return quantityOut;
}

public String getLocationId(){
 return locationId;
}

public String getType(){
 return type;
}



    //Balaram,... Feb 26, 2003
    public String[] getNewLotNumber() {
        return this.newLotNumber;
    }

    public void setNewLotNumber (String[] newLotNumber) {
        this.newLotNumber = newLotNumber;
    }

	//Vasanth,... April 22, 2003
	// for inserting multiple values of created lots and their respective values
	private String[] insertingLotId;
	private String[] insertingDateIn;
	private String[] insertingQuantityIn;
	private String[] testedQuantity;
	private String[] rejectedQuantity;
    private String[] dateCodes;

	public String[] getInsertingLotId() {
		return insertingLotId;
	}

	public void setInsertingLotId(String[] insertingLotId){
		this.insertingLotId= insertingLotId;
	}

	public String[] getInsertingDateIn() {
		return insertingDateIn;
	}

	public void setInsertingDateIn(String[] insertingDateIn){
		this.insertingDateIn= insertingDateIn;
	}

	public String[] getInsertingQuantityIn() {
		return insertingQuantityIn;
	}

	public void setInsertingQuantityIn(String[] insertingQuantityIn){
		this.insertingQuantityIn= insertingQuantityIn;
	}

	public String[] getTestedQuantity() {
		return testedQuantity;
	}

	public void setTestedQuantity ( String[] testedQuantity ) {
		this.testedQuantity= testedQuantity;
	}

	public String[] getRejectedQuantity() {
		return rejectedQuantity;
	}

	public void setRejectedQuantity ( String[] rejectedQuantity ) {
		this.rejectedQuantity= rejectedQuantity;
	}

    /**
     * @return
     */
    public String getRejectedQty ()
    {
        return rejectedQty;
    }

    /**
     * @return
     */
    public String getTestQuantity ()
    {
        return testQuantity;
    }

    /**
     * @param string
     */
    public void setRejectedQty ( String rejectedQty )
    {
        this.rejectedQty = rejectedQty;
    }

    /**
     * @param string
     */
    public void setTestQuantity ( String testQuantity )
    {
        this.testQuantity = testQuantity;
    }


    public String[] getDateCodes()
    {
        return dateCodes;
    }

    public void setDateCodes( String[] dateCodes )
    {
        this.dateCodes = dateCodes;
    }

    public String getDateCode()
    {
        return dateCode;
    }

    public void setDateCode( String dateCode )
    {
        this.dateCode = dateCode;
    }

}

